import React, { Component } from 'react';
import {NavLink} from 'react-router-dom';
import './index.less'
class Home extends Component {
    render() { 
        return ( 
            <nav className="footer">
                <NavLink  exact to={'/'} activeClassName="active">
                <i className="iconfont icon-xingqiu"></i>
                    <span>首页</span>
                </NavLink>
                <NavLink to={'/lesson'} activeClassName="active">
                <i className="iconfont icon-react"></i>
                    <span>我的课程</span>
                </NavLink>
                <NavLink to={'/profile'} activeClassName="active">
                <i className="iconfont icon-xiaolian"></i>
                    <span>个人中心</span>
                </NavLink>
            </nav>
        );
    }
}
 
export default Home;